﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using patents_robot_demo.Analysis;
using patents_robot_demo.BasicWork;
using patents_robot_demo.DataBase;
using patents_robot_demo.HttpMethod;
using patents_robot_demo.NetWorkOperate;

namespace patents_robot_demo
{
    class Function
    {
        public static void SavePatentID()
        {
            HttpClient client = new HttpClient();
            while (true)
            {
                client.GetAndGetHtml("http://atenjoy.com/39.html",
                    @"application/x-www-form-urlencoded",
                    null,
                    false,
                    Encoding.GetEncoding("GB2312")
                    );
            }
        }
    }
}
